#ifndef YUVSPEC_H
#define YUVSPEC_H
extern "C" {

    #include <libavutil/avutil.h>
    #include <libavutil/imgutils.h>
}

class YUVSpec
{
private:

    int width;
    int height;
    int fps;
    AVPixelFormat format;

public:
    YUVSpec(int width,int height,int fps,AVPixelFormat format);
    YUVSpec(const YUVSpec& yuvSpec);

    int imageSize() const;

    int getFps() const;

    int getWidth() const;

    int getHeight() const;

    AVPixelFormat getFormat() const;
};

#endif // YUVSPEC_H
